package cn.zspt.vank.service;


import cn.zspt.vank.domain.*;
import cn.zspt.vank.domain.dto.OrderQuery;

import java.util.List;

public interface OrderService {

    List<Dish> findDishByCategory(int categoryId);
    List<Category> findAllCategory();
    List<User> findAllUser();
    void createOrder(Order order);
    List<Order> findOrderTodayByUser(int userId);

    List<Order> findOrderByQuery(OrderQuery orderQuery);

    void takeOrder(int orderId);

    List<OrderItem> findOrderItems(int orderId);

    void payOrder(int orderId);

    void abortOrder(int orderId);
}
